
<%@page import="serverDB_classes.DBManager"%>
<%@ page import="java.io.*" %>
<jsp:useBean id="user" class="serverDB_classes.UserData" scope="session"/> 
<jsp:setProperty name="user" property="*"/> 
<HTML><BODY>

<% boolean isExist = false; 
isExist =serverDB_classes.DBManager.getDBManager().verifyUser(user.getUserName(),user.getPassword()); 

if (isExist)
	pageContext.forward( "index.jsp" );
else
	pageContext.include("bad_info.jsp");
%>


<%
/*files list: 

File f=new File("c:/DropBox");
String files[]=f.list();
for (String fi : files){
	out.println(fi+"<BR>");
}
pageContext.forward( "index.jsp" );*/
%>

</BODY></HTML>